#include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
int main(){
    int n;
    char a[105],b[105];
    while(~scanf("%s %s",a,b)){
        if(strcmp(a,"admin")==0&&strcmp(b,"admin")==0)cout<<"Login Success!"<<endl;
        else cout<<"Login Fail!"<<endl;
    }
    return 0;
}
